package com.heo.music.player.service;

import com.heo.music.player.dto.input.MusicInfoInput;
import com.heo.music.player.dto.output.MusicInfoOutput;
import com.heo.music.player.dto.output.PageOutput;
import com.heo.music.player.dto.query.MusicInfoQuery;

import java.io.IOException;

/**
 * created on 2024-05-11 09:26
 *
 * @author 星天无极
 **/
public interface MusicInfoService {

    PageOutput<MusicInfoOutput> findAllMusicInfo(MusicInfoQuery musicInfoQuery);

    MusicInfoOutput createMusicInfo(MusicInfoInput musicInfoInput) throws IOException;

    void deleteMusicInfo(Integer id);
}
